TwoFA\Controllers\Twofa\Mo_2f_Ajax A

Total Complexity 63
Dependencies 7
Dependents 1
Total lines 252
Lines of code 181
Logical lines of code 134
Comment lines 55
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
mo2f_validate_google_authenticator()
A
41 15 50
mo_two_factor_ajax()
A
51 9 26
mo2f_set_ga()
A
49 9 26
mo2f_google_auth_set_transient()
S
56 8 15
mo2f_set_otp_over_sms()
S
51 7 22
mo2f_set_otp_over_whatsapp()
S
51 7 22
mo2f_ajax_login_redirect()
S
64 4 8
mo2f_enable_twofactor_userprofile()
S
74 2 4
__construct()
S
75 1 4
mo_2f_two_factor()
S
75 1 4